cmake_minimum_required(VERSION 3.5.0)

project(ogl)

set(CMAKE_CXX_STANDARD 17)

file(GLOB ogl_model_src *.cpp)

add_library(ogl-model ${ogl_model_src})
target_link_libraries(ogl-model ogl-gut ogl-math ogl-phong assimp)

target_include_directories(ogl-model PUBLIC  ../../)

if(WIN32)
target_include_directories(ogl-math PUBLIC ../../../include)
endif()